package com.woniu.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.domain.TShopAccount;
import com.woniu.car.dto.ShopAccountDto;
import com.woniu.car.dto.ShopRegisterDto;
import com.woniu.car.param.ShopLoginByCodeParam;
import com.woniu.car.param.ShopRegisterParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WWX
 * @since 2021-06-19
 */
public interface TShopAccountService extends IService<TShopAccount> {
    //新增商铺账号
    public TShopAccount insertShopAccount(TShopAccount tShopAccount) throws Exception;
    //修改商铺账号
    public void updateShopAccount(TShopAccount tShopAccount) throws Exception;
    //查看商铺列表
    public List<TShopAccount> showShopAccount();
    //查询商铺
    public List<TShopAccount> queryShopAccount(TShopAccount tShopAccount);
    //商铺注册
    public ShopRegisterDto registerShopAccount(ShopRegisterParam param) throws Exception;
    //商铺登录
    public ShopAccountDto loginShopByCode(ShopLoginByCodeParam param) throws Exception;
}
